package com.harbintransport.backend.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "bus_stop_frequency_usage")
public class BusStopFrequencyUsage {

    @Id
    @Column(name = "station_name")
    private String stationName;

    @Column(name = "total_stops")
    private Integer totalStops;

    @Column(name = "onboard")
    private Integer onboard;

    @Column(name = "offboard")
    private Integer offboard;

    // Getters and Setters
    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public Integer getTotalStops() {
        return totalStops;
    }

    public void setTotalStops(Integer totalStops) {
        this.totalStops = totalStops;
    }

    public Integer getOnboard() {
        return onboard;
    }

    public void setOnboard(Integer onboard) {
        this.onboard = onboard;
    }

    public Integer getOffboard() {
        return offboard;
    }

    public void setOffboard(Integer offboard) {
        this.offboard = offboard;
    }
}